<%@page import="systems.RecentlyUpdate"%>
<%@page import="systems.RecentlyDomain"%>
<%@page import="java.util.List"%>
<%
List<String> domains = RecentlyDomain.getDomains();
List<String> uDomains = RecentlyUpdate.getDomains();
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/layouts/header.jsp" />
	<script type="text/javascript" src="/js/home.js"></script>
	
		<div class="adv top">
			<script type="text/javascript"><!--
			google_ad_client = "ca-pub-4975603569119809";
			/* showdomain 468x15 */
			google_ad_slot = "8143908917";
			google_ad_width = 468;
			google_ad_height = 15;
			//-->
			</script>
			<script type="text/javascript"
			src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
			</script>
		</div>
		
		<section id="welcome">
			<h1>
				Error 404. Page not found <br />
				Please enter a domain.
			</h1>
		</section>
		<section id="search-bar">
			<div class="item-stream unstyled search-input-stream">
				<div class="stream-item stream-header search-input-item">
					<form class="form-inline search-form" action="/goto">
						<input type="text" value="" placeholder="ex: google.com" name="q" id="artist_search" class="xlarge ui-autocomplete-input" role="textbox">
          				<button type="submit" id="artist_submit" class="btn btn-large btn-inverse"><i class="icon-search icon-white"></i></button>
					</form>
				</div>
			</div>
			
			<div class="adv top">
				<script type="text/javascript"><!--
				google_ad_client = "ca-pub-4975603569119809";
				/* showdomain 728x15 */
				google_ad_slot = "9620642115";
				google_ad_width = 728;
				google_ad_height = 15;
				//-->
				</script>
				<script type="text/javascript"
				src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
				</script>
			</div>
		</section>
		
		<div class="homeshadowsep"></div>
		
		<div class="adv">
			<script type="text/javascript"><!--
			google_ad_client = "ca-pub-4975603569119809";
			/* showdomain 728x90 */
			google_ad_slot = "3574108518";
			google_ad_width = 728;
			google_ad_height = 90;
			//-->
			</script>
			<script type="text/javascript"
			src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
			</script>
		</div>
		
		<div id="features" class="row">
			<div class="span3 divider">
				<h3><a href="/checkip">Check Ip</a></h3>
				<p>Tool Check IP allows you to find out who an IP address belongs to</p>
			</div>
			<div class="span3 divider">
	            <h3><a href="/checkwhois">Check Whois</a></h3>
	            <p>Tool allows persons to obtain information related to the registration records of existing domain names.</p>
	        </div>
	        <div class="span3 divider">
	            <h3><a href="/reverseip">Reverse IP</a></h3>
	            <p>Tool searches for domain names hosted on IP address.</p>
	        </div>
        	<div class="span3">
	            <h3><a href="/keyword-ranking">Keywords Ranking</a></h3>
	            <p>Tool show where your site ranks for a keyword but won't help you rank higher.</p>
	        </div>
		</div>
		
		<div class="addthis home">
			<!-- AddThis Button BEGIN -->				
			<div class="addthis_toolbox addthis_default_style ">
			<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
			<a class="addthis_button_tweet" tw:via="showdomain"></a>
		
			<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
			<a class="addthis_counter addthis_pill_style"></a>
			</div>
            <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f4f217074402877"></script>
            <!-- AddThis Button END -->
		</div>
		
		<div class="homeshadowsep"></div>
		
		<div class="row-fluid recently-domain">
			<div class="span8">
				<div class="box">
					<h3 class="title">
						<span class="pull-left">RECENTLY DOMAIN LISTINGS</span>
						<span class="pull-right"><a href="/recently">View all listings</a></span>
					</h3>
					<ul class="list-domain horizontal clearfix">
						<% for (int i = 0; i < domains.size(); i++) { %>
							<% if (i >= 12) break; %>
						<li><a href="/d/<%=domains.get(i)%>"><%=domains.get(i) %></a></li>
						<% } %>
					</ul>
				</div>
				<div class="box">
					<h3 class="title">
						<span class="pull-left">RECENTLY UPDATE LISTINGS</span>
					</h3>
					<ul class="list-domain horizontal clearfix">
						<% for (int i = 0; i < uDomains.size(); i++) { %>
						<% if (i >= 12) break; %>
						<li><a href="/d/<%=uDomains.get(i)%>"><%=uDomains.get(i) %></a></li>
						<% } %>
					</ul>
				</div>
			</div>
			<div class="span4">
				<div class="adv border">
					<script type="text/javascript"><!--
					google_ad_client = "ca-pub-4975603569119809";
					/* showdomain 336x280 */
					google_ad_slot = "2097375313";
					google_ad_width = 336;
					google_ad_height = 280;
					//-->
					</script>
					<script type="text/javascript"
					src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
					</script>
				</div>
			</div>
		</div>
		
<jsp:include page="/layouts/footer.jsp" />